<%@page contentType="text/html" pageEncoding="UTF-8"%>
<html>
    <head>
        <title>Bootstrap 101 Template</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <link rel="stylesheet" type="text/css" href="/TpMonitoringJu/css/bootstrap.css" >
        <link rel="javascript" type="text/javascript" href="/TpMonitoringJu/js/bootstrap.js">
        <link rel="javascript" type="text/javascript" href="/TpMonitoringJu/js/jquery.spin.js">
        <link rel="javascript" type="text/javascript" href="/TpMonitoringJu/js/spin.min.js">

    </head>
    <body >


        <script src="http://code.jquery.com/jquery.js"></script>
        <!--<script src="js/bootstrap.js"></script>-->

        <% if (request.getAttribute("error") != null) {%>
            <div class="alert alert-error">
 <%= request.getAttribute("error")%>
</div>
            <% }%> 
             <% if (request.getAttribute("warn") != null) {%>
            <div class="alert alert-warning">
 <%= request.getAttribute("warn")%>
</div>
            <% }%> 

        <div style="text-align: center" >
            <form name="form_action" method="post" action="action">
                <fieldset> 
                    <label>Adresse Ip du serveur</label>
                    <input style=" 
                           border: 5px solid #C74907; 
                           border-radius: 5px; 

                           font-size: 40px; 
                           height: 50px; 
                           padding: 4px 8px; 
                           width: 450px; 
                           text-transform: uppercase; 
                           text-align: center;"
                           id="input_box" type="text" name="rmi" value="192.168.1.5"><br><br>
                    <input type="radio" name="action" value="process"> processus
                    <input type="radio" name="action" value="memory"> memory
                    <input type="radio" CHECKED  name="action" value="cpu" >cpu<br><br>
                    <div class="btn-group">
                        <button class="btn" type="submit" name="view" id="monit" value="monitorer">monitorer</button>
                        <button class="btn" type="submit" name="histo" value="historique">historique</button>
                    </div>
                </fieldset>
            </form>
        </div>
    </body>
</html>
